<extend name="Public:base" />
<block name="title"><title>心e购-会员中心</title></block>
<block name="body">
	<header class="mui-bar mui-bar-nav">
		<h1 class="mui-title">会员中心</h1>
	</header>
	
	<div class="mui-content">
		<div class="mui-card my_hearder">
			<div class="mui-card-header mui-card-media my_bg">
				<div class="my_phone">
					<div class="my_title_phone"></div>
					<if condition="isset($_SESSION['boboid']) && isset($_SESSION['user_id'])">
						<p class="mui-text-center">{$_SESSION['user_name']} | <a href="/Wap/Member/logout">退出</a></p>
						<else />
						<p class="mui-text-center"><a href="/Wap/Member/login">登陆</a><a href="/Wap/Member/register">注册</a></p>
					</if>
					
				</div>
			</div>
			<div class="mui-card-footer mui-text-center my_qb dis_flex">
				<div class="flex1">
					<p>{$integral.integral3|default=0.00}</p>
					<p>预存款</p>
				</div>
				<div class="flex1">
					<p>{$integral.integral2|default=0.00}</p>
					<p>增值币</p>
				</div>
				<div class="flex1">
					<p>{$integral[integral5]+$integral[integral2]+$integral[integral1]}</p>
					<p>积分</p>
				</div>
			</div>
		</div>

		<div class="my_main">
			<ul class="dis_flex my_nav">
				<li class="flex1">
					<a href="/Wap/Order/index">
						<i class="icon iconfont icon-dingdanxiangqingjiaoyiwancheng"></i>
						<span>我的订单</span>
					</a>
				</li>
				<li class="flex1">
					<a href="/Wap/Member/favorited">
						<i class="icon iconfont icon-wodeshoucang"></i>
						<span>我的收藏</span>
					</a>
				</li>
				<li class="flex1">
					<a href="/Wap/Order/back">
						<i class="icon iconfont icon-tuihuotuikuan"></i>
						<span>退款退货</span>
					</a>
				</li>
				<li class="flex1">
					<a href="/Wap/Member/info">
						<i class="icon iconfont icon-zhanghuxinxi"></i>
						<span>账户信息</span>
					</a>
				</li>
				<li class="flex1">
					<a href="/Wap/Member/change_password">
						<i class="icon iconfont icon-zhanghuanquan"></i>
						<span>账户安全</span>
					</a>
				</li>
				<li class="flex1">
					<a href="/Wap/Member/address">
						<i class="icon iconfont icon-locus-copy"></i>
						<span>收货地址</span>
					</a>
				</li>
			</ul>
		</div>
	</div>
</block>